package com.suisung.shopsuite.pay.model.res;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.suisung.shopsuite.pay.model.entity.DistributionCommission;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@ApiModel(description = "推广员及收益")
public class DistributionCommissionRes extends DistributionCommission {

    @ApiModelProperty("消费佣金")
    private BigDecimal userCommissionBuy = BigDecimal.ZERO;

    @ApiModelProperty("佣金")
    private BigDecimal userCommissionNow = BigDecimal.ZERO;

    @ApiModelProperty("本月预估收益")
    private BigDecimal monthCommissionBuy = BigDecimal.ZERO;

    @ApiModelProperty("总消费佣金")
    private BigDecimal commissionBuyAmount = BigDecimal.ZERO;

    @ApiModelProperty("本月新增粉丝")
    private Integer monthNum = 0;

}
